package roboSoccer;

public class TbDefault extends TeamBehavior {

	public TbDefault() {
		super("Default");
	}

	// Default team behavior sets all robots to the default player behavior.
	public void update(GameState game, RoboTeam team) {
		for (int i = 0; i < team.players.length; i++) {
			team.players[i].update(new PbDefault(team.players[i]), game);
		}
	}

	public int behaviorValue(GameState game, RoboTeam team) {
		return 1;
	}

	public TeamBehavior copy() {
		return new TbDefault();
	}
}
